package com.mrjy.maintain.bo;

import java.util.Date;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.mrjy.common.entity.AccessLog;
import com.mrjy.common.entity.UserInfo;

public interface IAccessLogBo {
	
	/**
	 * 增加访问日志,返回自增id
	 * @param accessLog
	 * @return
	 */
	void txInsert(AccessLog accessLog, UserInfo userInfo);
	
	
	/**
	 * 分页查询访问日志
	 * 
	 * @param accessLog
	 * @param session 
	 * @return
	 */
	Object listByPage(AccessLog accessLog, HttpSession session);

	/**
	 * 导出excel
	 * 
	 * @param accessLog
	 * @param response
	 * @param session 
	 * @throws Exception
	 */
	Object exportExl(AccessLog accessLog, HttpServletResponse response, HttpSession session);


	/**
	 * 获取总访问量
	 * @param accessLog
	 * @return
	 */
	Object getTotal(AccessLog accessLog);


}
